#! python3
# -*- coding: utf-8 -
'''
Created on 2017年05月10日
@author: zxyong 13738196011
'''

from ctypes import cdll
import os
class use_c(object):
    def __init__(self, params):
        p = os.getcwd() + '/libfunc.so'
        f = cdll.LoadLibrary(p)
        print(f.fun_add(1,2))